package blog.com.mw.service;

import java.util.List;

import blog.com.mw.base.ResultData;
import blog.com.mw.pojo.vo.DiscussVO;

public interface DiscussService {
	public ResultData getDiscussById(int id);
	
	public ResultData getAllDiscuss(int pageNum,int pageSize,String keyword);
	
	public ResultData getDiscussByArticleId(int articleId);
	
	public ResultData getDiscussByUserId(int userId);
	
	public ResultData addDiscuss(DiscussVO vo);
	
	public ResultData updateDiscuss(DiscussVO vo);
	
	public ResultData delDiscuss(List<Integer> ids);
}
